package com.ztgf.shopping.models.vo.shop;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ztgf.shopping.models.dto.shop.ShopQualificationAuditDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 开店审核表详情VO
 *
 * @author zhanghualang
 * @Date 2020-06-16 16:21:25
 */
@Data
public class ShopInfoAuditOpenVO implements Serializable {
    @ApiModelProperty(value = "主键 店铺审核表ID")
    private Long id;
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty("更新时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")//gosn
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//输入字符串
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")//fastjson
    @TableField("update_time")
    protected Date updateTime;
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    @ApiModelProperty(value = "店铺ID")
    private Long shopId;
    @ApiModelProperty(value = "公司名称")
    private String name;
    @ApiModelProperty(value = "二级域名")
    private String domain;
    @ApiModelProperty(value = "店铺类型 0专营店、1专卖店、2旗舰店、3自营店")
    private Integer shopType;
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
    @ApiModelProperty(value = "店铺本名")
    private String shopRealName;
    @ApiModelProperty(value = "店铺简称")
    private String shopAbbreviation;
    @ApiModelProperty(value = "审核意见")
    private String content;
    @ApiModelProperty(value = "银行")
    private String bankName;
    @ApiModelProperty(value = "银行卡号")
    private String bankCardNo;
    @ApiModelProperty(value = "开户行地址")
    private String bankAddress;

    @ApiModelProperty(value = "基础资质审核表列表")
    private List<ShopQualificationAuditDTO> baseQualificationAuditDTOList;

    @ApiModelProperty(value = "品牌资质审核表列表")
    private List<ShopInfoAuditBrandVO> shopInfoAuditBrandVOList;
    @ApiModelProperty(value = "可售区域")
    private List<ShopSalesAreaVO> shopSalesAreaVOS;
}
